package mr.fresh.entity.manange;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class FreshPic {
    @ApiModelProperty(value = "主键")
    private Long picId;

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品图片URl")
    private String picUrl;

    @ApiModelProperty(value = "商品图片顺序")
    private Integer picSeq;

    @ApiModelProperty(value = "是否主图")
    private Integer isMain;

    @ApiModelProperty(value = "上下架（1上架，2下架)")
    private Integer picStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}